package com.ym.medical.service.impl;

import com.ym.core.utils.tkmybatis.BaseSVImpl;
import com.ym.medical.dao.SysErrorLogDao;
import com.ym.medical.domain.entity.SysErrorLogEntity;
import com.ym.medical.domain.param.SysErrorLogQueryParam;
import com.ym.medical.domain.vo.SysErrorLogListPcVO;
import com.ym.medical.service.ISysErrorLogSV;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 异常日志Service业务层处理
 *
 * @author bird
 * @date 2020-07-15
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class SysErrorLogSVImpl extends BaseSVImpl<SysErrorLogEntity, SysErrorLogDao> implements ISysErrorLogSV {

	/**
	 * 查询异常日志列表
	 *
	 * @param queryParam 异常日志 查询参数
	 * @return 异常日志
	 */
	@Override
	public List<SysErrorLogListPcVO> selectListPC(SysErrorLogQueryParam queryParam) {
		List<SysErrorLogListPcVO> sysErrorLogs = mapper.selectListPC(queryParam);
		return sysErrorLogs;
	}
	
}
